<!--
 * @Descripttion: 
 * @Author: zhaozheng
 * @Version: 0.0.1
 * @Date: 2022-09-27 17:22:05
 * @LastEditors: zhaozheng
 * @LastEditTime: 2022-09-30 17:36:50
-->
<template>
  <div class="home">
    <div class="content">h5-single-vue</div>
  </div>
</template>

<script>
import { getArticlesList } from '@/api/api'
export default {
  name: "Home",
  components: {
  },
  data () {
    return {

    };
  },
  mounted () {
  },
  methods: {
    // async getBannerData () {
    // 	let param = {
    // 		channelId: BannerId, //头条栏目id
    // 		pageNo: 1,
    // 		pageSize: 6
    // 	}
    // 	try {
    // 		const { data: { code, msg, result } } = await getArticlesList(param)
    // 		if (code != 0) {
    // 			console.log(msg)
    // 			return
    // 		}
    // 		this.bannerList = result.content.map(item => {
    // 			return {
    // 				id: item.id,
    // 				url: item.coverImagesList[0].url
    // 			}
    // 		})
    // 		this.$nextTick(() => {
    // 			this.mySwiper()
    // 		})
    // 	} catch (error) {
    // 		console.log(error)
    // 	}
    // }
  }
};
</script>

<style lang="scss" scoped>
.content {
  width: 200px;
  height: 100px;
  line-height: 100px;
  font-size: 24px;
  text-align: center;
  background-color: #1e766d;
  color: #fff;
}
</style>
